import Layout from '/@vab/layouts/index.vue'
import { VabRouteRecordRaw } from '../types'
const procureRouter: VabRouteRecordRaw[] = [
  {
    path: '/procure',
    name: 'Procure',
    component: Layout,
    meta: {
      title: '采购管理',
      icon: 'shopping-cart-2-line',
    },
    children: [
      {
        path: 'cooperate',
        name: 'Cooperate',
        component: () =>
          import('/@/views/procureManagement/cooperate/index.vue'),
        meta: {
          title: '合作提报',
          icon: 'home-2-line',
        },
      },
      {
        path: 'orderTrack',
        name: 'OrderTrack',
        component: () =>
          import('/@/views/procureManagement/orderTrack/index.vue'),
        meta: {
          title: '订单跟踪',
          icon: 'home-2-line',
        },
      },
    ],
  },
]

export default procureRouter
